home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DJGPP
/
CBGRX103.ZIP
/
contrib
/
libgrx
/
fntool
/
convert.c
next >
Wrap
Text File
|
1993-12-06
|
698b
|
37 lines
#include "fntool.h"
void cvtfix2prop(void) {}
void cvtprop2fix(void) {}
void centerwidth(void) {}
void centerheight(void) {}
/*
void centerwidth(void)
{
int fmin,fmax;
int offs,copy;
int ii,jj;
fmax = 0;
fmin = outwidth;
for(ii = 0; ii < outheight; ii++) {
for(jj = 0; jj < outwidth; jj++) {
if(bitmap[ii][jj]) {
if(fmax < jj) fmax = jj;
if(fmin > jj) fmin = jj;
}
}
}
copy = fmax - fmin + 1;
if(copy <= 0) return;
offs = (outwidth - copy) / 2;
for(ii = 0; ii < outheight; ii++) {
memset(workline,0,outwidth);
memcpy(&workline[offs],&bitmap[ii][fmin],copy);
memcpy(bitmap[ii],workline,outwidth);
}
}
*/